﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace OnlineManagement.Web.Account
{
    public partial class Default1 : System.Web.UI.Page
    {
        protected bool _isLogin = false;
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack){
                if (HttpContext.Current.User != null && HttpContext.Current.User.Identity.IsAuthenticated)
                {
                    _isLogin = true;
                }
                else {
                    _isLogin = false;
                }
            }
        }
    }
}